/*
 * Created on Jun 1, 2004
 */
package org.vectrics.recruiter.struts.tag;

import org.vectrics.hibernate.ThreadProperties;
import org.vectrics.recruiter.job.Job;

/**
 * @author mmoore
 */
public class JobListPublicTag extends JobListTag {
	public static final long serialVersionUID = 8908452436324L;
	
	/**
	 * 
	 */
	public JobListPublicTag() {
		super();
		this.setWidth("400");
	}
	
    protected String getPageListLink() {
   		return(getContextPath() + "/public/" + ThreadProperties.getUriDomainId()
   				+ "/job/job_search_results.do");
    }

	protected boolean getShowStatus() {
		boolean result = false;
		return result;
	}

	protected boolean displayCompany() {
		return (false);
	}

	protected boolean showActiveCriteria() {
		return(true);
	}
    

	protected String getViewJobHref(Job job) {
		String href = this.getContextPath() + "/public/" + ThreadProperties.getUriDomainId() 
				+ "/job/job_view.do" 
				+ "?jobId=" + job.getId();
		return(href);
	}
	

	protected String getJobPdfHref(Job job) {
		String href = null;
		return(href);
	}
	
	
}
